From 75a2994329edb4f4e7061510255aa9362664001f Mon Sep 17 00:00:00 2001 From: Mary Strodl Date: Fri, 3 Jan 2025 08:59:38 -0500 Subject: [PATCH] rust-bindings/tests: Display no longer implemented, but Debug is Signed-off-by: Colin Walters --- rust-bindings/tests/functions/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-bindings/tests/functions/mod.rs b/rust-bindings/tests/functions/mod.rs index 610ff780..a15961fb 100644 --- a/rust-bindings/tests/functions/mod.rs +++ b/rust-bindings/tests/functions/mod.rs @@ -30,7 +30,7 @@ fn list_repo_objects() { commit_cnt += 1; } x => { - panic!("unexpected object type {}", x); + panic!("unexpected object type {x:?}"); } } } -- 2.30.2